public interface RemotePojoInvocationCommandServiceMBean extends CommandServiceMBean
| Modifier and Type | Method and Description |
|---|---|
void |
addPojo(Object pojo,
String remoteInterfaceName)
Adds the given POJO so it becomes remoteable via the
ClientRemotePojoFactory. |
<T> void |
addPojo(T pojo,
Class<T> remoteInterface)
Adds the given POJO so it becomes remoteable via the
ClientRemotePojoFactory. |
void |
removePojo(Class<?> remoteInterface)
Removes the POJO with the given remoted interface so it no longer is remoteable and cannot be invoked via remote
clients.
|
void |
removePojo(String remoteInterfaceName)
Removes the POJO with the given remoted interface so it no longer is remoteable and cannot be invoked via remote
clients.
|
getSupportedCommandTypesexecutevoid addPojo(Object pojo, String remoteInterfaceName)
ClientRemotePojoFactory. The
remoteInterfaceName will be the name of the interface that is exposed to the remote clients.pojo - the POJO to add to the list of remoted POJOsremoteInterfaceName - name of the interface to expose to remote clientsremovePojo(String),
removePojo(Class)<T> void addPojo(T pojo,
Class<T> remoteInterface)
ClientRemotePojoFactory. The
remoteInterface will be the interface that is exposed to the remote clients.pojo - the POJO to add to the list of remoted POJOsremoteInterface - the interface to expose to remote clientsremovePojo(String),
removePojo(Class)void removePojo(String remoteInterfaceName)
remoteInterfaceName must be the name of the interface that was exposed to the remote
clients.remoteInterfaceName - name of the interface that was exposed to remote clientsaddPojo(Object, String),
addPojo(Object, Class)void removePojo(Class<?> remoteInterface)
remoteInterface must be the interface that was exposed to the remote clients.remoteInterface - the interface that was exposed to remote clientsaddPojo(Object, String),
addPojo(Object, Class)Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.