|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object
|
+--java.beans.SimpleBeanInfo
|
+--REFLEXBean
Bean to provide access to RComponents via CORBA/IIOP through the EJB container using the REFLEX RComponent stateless session bean.
This component is also available as an ActiveX TLB for use with Visual C++/Visual Basic (via the ActiveX bridge provided with the Java Plug-in). The bean exposes two properties, available via either ActiveX/Bean property sheets,
iiop://[host]:[port] where [host] is the
hostname and [port] is the port number of the machine where the EJB container is running (the RComponent
session bean delegator will be running within the container at this address).
| Fields inherited from interface java.beans.BeanInfo |
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32 |
| Constructor Summary | |
REFLEXBean()
|
|
| Method Summary | |
java.lang.String |
displayConfiguration()
Show the delegated methods available from this EJB. |
java.lang.Object |
execute(java.lang.String method)
Execute some behaviour by delegating the method to an RComponent. |
java.lang.Object |
execute(java.lang.String method,
java.lang.Object[] args)
Execute some behaviour by delegating the method to an RComponent. |
java.lang.String |
getComponent()
JavaBean accessor for the component property. |
java.lang.String |
getConfiguration()
Get the user assigned descriptive name for the current component configuration. |
java.lang.String |
getHost()
JavaBean accessor for the host property. |
java.awt.Image |
getIcon(int iconKind)
Set the Icon to display in the BeanBox |
java.beans.PropertyDescriptor[] |
getPropertyDescriptors()
Set the property meta-information to display in the BeanBox |
void |
setComponent(java.lang.String component)
JavaBean mutator for the component property. |
void |
setHost(java.lang.String host)
JavaBean property mutator for the host property. |
| Methods inherited from class java.beans.SimpleBeanInfo |
getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getMethodDescriptors, loadImage |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public REFLEXBean()
| Method Detail |
public void setHost(java.lang.String host)
host - A String containing the name of the host machine to connect to.
Addresses should be specified using the form iiop://[host]:[port] where [host] is the
hostname and [port] is the port number of the machine where the EJB container is running (the RComponent
session bean delegator will be running within the container at this address).public void setComponent(java.lang.String component)
component - A String containing the JNDI name of component to
communicate with in the EJB container.public java.lang.String getHost()
String containing the name of the host we are interacting withpublic java.lang.String getComponent()
String containing the JNDI name of the EJB where are interacting
withpublic java.lang.String getConfiguration()
string containing the name of the current
component configuration.
public java.lang.Object execute(java.lang.String method,
java.lang.Object[] args)
int should be wrapped in a
java.lang.Integer before passing it to the execute
method as an array of Objects.methodName - The name of the RComponent method to invoke.args - An array of the arguments to pass to the method.
All primitive Java types require wrapping in their appropriate
java.lang object wrappers upon passing to the method.Object containing the results of the delegation
to the RComponent from this EJB.public java.lang.String displayConfiguration()
String displaying the available
methods of the EJB from its delegations to the RComponent.public java.lang.Object execute(java.lang.String method)
methodName - The name of the RComponent method to invoke.Object containing the results of the delegation
to the RComponent from this EJB.public java.awt.Image getIcon(int iconKind)
getIcon in class java.beans.SimpleBeanInfopublic java.beans.PropertyDescriptor[] getPropertyDescriptors()
getPropertyDescriptors in class java.beans.SimpleBeanInfo
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||