Class StubFactoryFactoryStaticImpl
- java.lang.Object
-
- com.sun.corba.ee.impl.presentation.rmi.StubFactoryFactoryBase
-
- com.sun.corba.ee.impl.presentation.rmi.StubFactoryFactoryStaticImpl
-
- All Implemented Interfaces:
PresentationManager.StubFactoryFactory
public class StubFactoryFactoryStaticImpl extends StubFactoryFactoryBase
-
-
Field Summary
Fields Modifier and Type Field Description private static ORBUtilSystemExceptionwrapper
-
Constructor Summary
Constructors Constructor Description StubFactoryFactoryStaticImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancreatesDynamicStubs()Return whether or not this StubFactoryFactory creates StubFactory instances that create dynamic stubs and ties.PresentationManager.StubFactorycreateStubFactory(java.lang.String className, boolean isIDLStub, java.lang.String remoteCodeBase, java.lang.Class expectedClass, java.lang.ClassLoader classLoader)Create a stub factory for stubs for the interface whose type is given by className.TiegetTie(java.lang.Class cls)Return a Tie for the given class.-
Methods inherited from class com.sun.corba.ee.impl.presentation.rmi.StubFactoryFactoryBase
getStubName
-
-
-
-
Field Detail
-
wrapper
private static final ORBUtilSystemException wrapper
-
-
Method Detail
-
createStubFactory
public PresentationManager.StubFactory createStubFactory(java.lang.String className, boolean isIDLStub, java.lang.String remoteCodeBase, java.lang.Class expectedClass, java.lang.ClassLoader classLoader)
Description copied from interface:PresentationManager.StubFactoryFactoryCreate a stub factory for stubs for the interface whose type is given by className. className may identify either an IDL interface or an RMI-IIOP interface.- Parameters:
className- The name of the remote interface as a Java class name.isIDLStub- True if className identifies an IDL stub, else false.remoteCodeBase- The CodeBase to use for loading Stub classes, if necessary (may be null or unused).expectedClass- The expected stub type (may be null or unused).classLoader- The classLoader to use (may be null).- Returns:
- The stub factory
-
getTie
public Tie getTie(java.lang.Class cls)
Description copied from interface:PresentationManager.StubFactoryFactoryReturn a Tie for the given class.- Parameters:
cls- class- Returns:
- The tie corresponding to cls
-
createsDynamicStubs
public boolean createsDynamicStubs()
Description copied from interface:PresentationManager.StubFactoryFactoryReturn whether or not this StubFactoryFactory creates StubFactory instances that create dynamic stubs and ties. At the top level, true indicates that rmic -iiop is not needed for generating stubs or ties.- Returns:
- true iff we are using dynamic stubs
-
-