Previous | Managing Java Objects | Next |
If a Java Object is to use the ORB or any of the properties passed through from the Openfusion Service, then it must implement the com.prismt.openfusion.plugin.JavaObject interface. This interface is defined as follows:
public interface JavaObject |
{ |
public void init (org.omg.CORBA.ORB orb, ExtendedProperties props) throws Exception; |
} |
ExtendedProperties is found in the com.prismt.util package, which would have to be imported.
Management of the Java Object also requires a default constructor. When a Service containing the Java Object is started, the Administration Manager calls the Object's default constructor followed by the init method (if the JavaObject interface is not implemented then only the default constructor is called).
Previous | Managing Java Objects | Next |