|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.accendia.iris.client.ApplicationDescriptor
public class ApplicationDescriptor
This class encapsulates remote application metadata. The client may declare application metadata in order to prevent the ServerContext from invoking the server at startup and reducing initialization time. This is useful when deploying on networks with high latency.
If the client registers an ApplicationDescriptor that doesn't correspond to the remote application structure the results are impredictable. This functionality must be used with extra care.
| Constructor Summary | |
|---|---|
ApplicationDescriptor()
Initializes the ApplicationDescriptor object. |
|
| Method Summary | |
|---|---|
java.lang.Class[] |
getCallbackInterfaces()
|
java.lang.Class[][] |
getCommandInterfaces()
|
java.lang.Class[] |
getCommandInterfaces(java.lang.String commandName)
|
java.lang.String[] |
getCommandNames()
|
java.lang.Class[][] |
getFactoryInterfaces()
|
java.lang.Class[] |
getFactoryInterfaces(java.lang.String factoryName)
|
java.lang.String[] |
getFactoryNames()
|
void |
setCallbackInterfaces(java.lang.Class[] callbackInterfaces)
Declares the list of callback interfaces. |
void |
setCommandInterfaces(java.lang.String commandName,
java.lang.Class[] interfaces)
Declares a remote command. |
void |
setFactoryInterfaces(java.lang.String factoryName,
java.lang.Class[] interfaces)
Declares a remote command factory. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ApplicationDescriptor()
| Method Detail |
|---|
public void setCommandInterfaces(java.lang.String commandName,
java.lang.Class[] interfaces)
commandName - The remote command nameinterfaces - The list of implemented interfaces by the command
public void setFactoryInterfaces(java.lang.String factoryName,
java.lang.Class[] interfaces)
factoryName - The remote factory nameinterfaces - The list of implemented interfaces by the factorypublic void setCallbackInterfaces(java.lang.Class[] callbackInterfaces)
callbackInterfaces - The list of callback interfacespublic java.lang.String[] getCommandNames()
public java.lang.Class[] getCommandInterfaces(java.lang.String commandName)
commandName - The command name
public java.lang.Class[][] getCommandInterfaces()
public java.lang.String[] getFactoryNames()
public java.lang.Class[] getFactoryInterfaces(java.lang.String factoryName)
factoryName - The factory name
public java.lang.Class[][] getFactoryInterfaces()
public java.lang.Class[] getCallbackInterfaces()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||