|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.imolinfo.jbi4corba.webservice.runtime.ConsumerServiceCreator
public class ConsumerServiceCreator
This class is used to create the JBI service.
| Field Summary | |
|---|---|
static String |
JBI4CORBA_OBJECT_ID
|
static String |
JBI4CORBA_PERSISENT_POA_NAME
|
| Constructor Summary | |
|---|---|
ConsumerServiceCreator()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
createJbiService(ConsumerServiceDescriptor consumerServiceDescriptor)
This method is used to create the JBI service. |
void |
createJbiServicePRE(ConsumerServiceDescriptor consumerServiceDescriptor)
|
protected Constructor |
getConstructorFromPoaTie(Class poaTieClass,
Class[] classes)
This method is used to create the default constructor of the Poa Tie Class. |
protected Constructor |
getConstructorWithConsumerInvocationHandler(Class clazz)
This method is used to create the constructor where the input parameter is a ConsumerInvocationHandler. |
protected Object |
newObject(Constructor constructor,
Object[] parameter)
This method creates an Object. |
protected Servant |
newPoaTie(Constructor constructor,
Object[] arguments)
This method creates the Servant using the constructor passed in input. |
void |
registerAndActivateService(ConsumerServiceDescriptor consumerServiceDescriptor)
|
protected void |
setOrbOnPoaTie(Servant poaTie,
Class poaTieClass,
ORB orb)
This method is used to set up the ORB in the skeleton. |
protected void |
setTargetOnPoaTie(Servant poaTie,
Class poaTieClass,
Object poaDelegate)
This method is used to set up the target class that the skeleton delegates all the corba operations. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String JBI4CORBA_PERSISENT_POA_NAME
public static final String JBI4CORBA_OBJECT_ID
| Constructor Detail |
|---|
public ConsumerServiceCreator()
| Method Detail |
|---|
public void createJbiService(ConsumerServiceDescriptor consumerServiceDescriptor)
throws ServiceCreationException
consumerServiceDescriptor - The consumer service descriptor
ServiceCreationException - The service creation exception
protected void setTargetOnPoaTie(Servant poaTie,
Class poaTieClass,
Object poaDelegate)
throws ServiceCreationException
poaTie - The instance of the skeleton.poaTieClass - The class of the skeleton.poaDelegate - The delegate class.
ServiceCreationException - When the 'getMethod' or the 'invoke' via reflection cause an
error.
protected void setOrbOnPoaTie(Servant poaTie,
Class poaTieClass,
ORB orb)
throws ServiceCreationException
poaTie - The instance of the skeleton.poaTieClass - The class of the skeleton.orb - The ORB.
ServiceCreationException - When the 'getMethod' or the 'invoke' via reflection cause an
error.
protected Constructor getConstructorFromPoaTie(Class poaTieClass,
Class[] classes)
throws ServiceCreationException
poaTieClass - The skeleton.
ServiceCreationException - When the 'getConstructor' via reflection causes an error.
protected Constructor getConstructorWithConsumerInvocationHandler(Class clazz)
throws ServiceCreationException
clazz - The class that contains the constructor.
ServiceCreationException - When the 'getConstructor' via reflection causes an error.
protected Servant newPoaTie(Constructor constructor,
Object[] arguments)
throws ServiceCreationException
constructor - The default constructor of the skeleton.
ServiceCreationException - When the 'new' via reflection causes an error.
protected Object newObject(Constructor constructor,
Object[] parameter)
throws ServiceCreationException
constructor - A constructor of a class.parameter - The parameter for the constructor.
ServiceCreationException - When the 'new' via reflection causes an error.
public void createJbiServicePRE(ConsumerServiceDescriptor consumerServiceDescriptor)
throws ServiceCreationException
consumerServiceDescriptor - The consumer service descriptor
ServiceCreationException - The service creation exception
public void registerAndActivateService(ConsumerServiceDescriptor consumerServiceDescriptor)
throws ServiceActivationException
consumerServiceDescriptor - The consumer service descriptor
ServiceActivationException - The service activation exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||