org.jboss.jms.container
Class Container
java.lang.Object
org.jboss.jms.container.Container
- All Implemented Interfaces:
- java.lang.reflect.InvocationHandler
- public class Container
- extends java.lang.Object
- implements java.lang.reflect.InvocationHandler
A JMS container
Constructor Summary |
Container(Container (src) parent,
Interceptor[] interceptors,
SimpleMetaData metadata)
Create a new container |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
interceptors
protected Interceptor[] interceptors
metadata
protected SimpleMetaData metadata
Container
public Container(Container (src) parent,
Interceptor[] interceptors,
SimpleMetaData metadata)
throws JMSException (src)
- Create a new container
- Parameters:
interceptors
- the interceptorsmetadata
- the meta data
- Throws:
JMSException (src)
- for any error
getContainer
public static Container (src) getContainer(java.lang.Object object)
throws java.lang.Throwable
- Get the container from a proxy
- Parameters:
object
- the proxy
- Throws:
java.lang.Throwable
- for any error
getProxy
public static java.lang.Object getProxy(Invocation invocation)
- Get the proxy from an invocation
- Parameters:
invocation
- the conatiner
getProxy
public java.lang.Object getProxy()
setProxy
public void setProxy(java.lang.Object proxy)
getParent
public Container (src) getParent()
getChildren
public java.util.Set getChildren()
addChild
public void addChild(Container (src) child)
removeChild
public void removeChild(Container (src) child)
invoke
public java.lang.Object invoke(Invocation invocation)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
invoke
public java.lang.Object invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
- Specified by:
invoke
in interface java.lang.reflect.InvocationHandler
- Throws:
java.lang.Throwable