|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.util.ee.event.listeners.AbsBeanEventListener
org.ow2.jonas.cmi.internal.event.BeanEventListener
public class BeanEventListener
Listener for Beans events.
| Constructor Summary | |
|---|---|
BeanEventListener(org.ow2.cmi.controller.server.ServerClusterViewManager clusterViewManager)
Default constructor. |
|
| Method Summary | |
|---|---|
void |
addClusteredObject(java.lang.String jndiName,
java.lang.Object clusterConfig,
java.lang.Class<?> homeClass,
java.lang.Class<? extends javax.ejb.EJBObject> remoteClass,
java.lang.ClassLoader classLoader,
boolean stateful,
boolean clusterReplicated)
Add a clustered bean. |
void |
handle(org.ow2.util.event.api.IEvent event)
Handles the given event. |
void |
removeClusteredObject(java.lang.String jndiName)
Removes the given clustered object. |
| Methods inherited from class org.ow2.util.ee.event.listeners.AbsBeanEventListener |
|---|
accept, getEventProviderFilter, getPriority, setEventProviderFilter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BeanEventListener(org.ow2.cmi.controller.server.ServerClusterViewManager clusterViewManager)
| Method Detail |
|---|
public void handle(org.ow2.util.event.api.IEvent event)
handle in interface org.ow2.util.event.api.IEventListenerhandle in class org.ow2.util.ee.event.listeners.AbsBeanEventListenerevent - the event to handle
public void removeClusteredObject(java.lang.String jndiName)
throws java.lang.Exception
jndiName - Name of the object to removeclusterViewManager - the server cluster view manager
java.lang.Exception - any
public void addClusteredObject(java.lang.String jndiName,
java.lang.Object clusterConfig,
java.lang.Class<?> homeClass,
java.lang.Class<? extends javax.ejb.EJBObject> remoteClass,
java.lang.ClassLoader classLoader,
boolean stateful,
boolean clusterReplicated)
throws java.lang.Exception
jndiName - name of the beanclusterConfig - The cluster configurationhomeClass - class of the home interfaceremoteClass - class of the remote interfaceclassLoader - he classloader used by the container of this beanstateful - true if the bean has a stateclusterReplicated - true if the bean is replicated (ha service is
required)
java.lang.Exception - any.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||