|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.globus.ogsa.impl.core.service.ServicePropertiesImpl
org.globus.ogsa.impl.ogsi.GridServiceImpl
org.globus.ogsa.impl.core.factory.EJBHomeFactoryProvider
This is the base class of EJB Home Services. They expose any method on the home interface that returns a single instance of the remote interface. (all of the create and find methods that don't return enumerations)
| Field Summary | |
protected ServiceNode |
factoryNode
|
protected EJBHome |
home
|
| Fields inherited from class org.globus.ogsa.impl.ogsi.GridServiceImpl |
queryEngine, serviceData |
| Constructor Summary | |
EJBHomeFactoryProvider(java.lang.String name,
EJBHome _home,
EJBObject ignoredParam)
|
|
| Method Summary | |
static java.lang.String |
cleanString(java.lang.String s,
int maxLen)
Removes everything but letters and numbers from a string. |
java.lang.String |
createRemoteService(EJBServiceImpl skel,
java.lang.String nameClue)
This method sets the skeleton that will be returned by createServiceObject(). |
GridServiceBase |
createServiceObject(ExtensibilityType creation,
ExtensibilityTypeHolder extensibilityOutput)
creates a new Grid service instance that implements the GridServiceBase |
protected ExtensibilityType |
getCreationType(EJBObject remote,
java.lang.String nameClue)
This attempts to guess a good name for the "path" portion of the service's url |
void |
initialize(GridServiceBase base)
associates this object with its GridServiceBase service. |
void |
preCreate(GridServiceBase base)
Called when a service object is created. |
| Methods inherited from class org.globus.ogsa.impl.ogsi.GridServiceImpl |
activate, addOperationProvider, deactivate, destroy, findServiceData, getInstanceProperty, getOperationProvider, getQueryEngine, getServiceDataSet, getServiceDataValues, getServiceInterface, getTerminationTime, populateInstanceProperties, postCreate, preDestroy, removeOperationProvider, requestTerminationAfter, requestTerminationBefore, setDefaultTermination, setQueryEngine, setServiceData, setServiceDataSet |
| Methods inherited from class org.globus.ogsa.impl.core.service.ServicePropertiesImpl |
flush, flush, getPersistentProperty, getProperty, keySet, setPersistentProperty, setProperty, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.globus.ogsa.ServiceProperties |
flush, getPersistentProperty, getProperty, setPersistentProperty, setProperty |
| Field Detail |
protected EJBHome home
protected ServiceNode factoryNode
| Constructor Detail |
public EJBHomeFactoryProvider(java.lang.String name,
EJBHome _home,
EJBObject ignoredParam)
| Method Detail |
public void preCreate(GridServiceBase base)
throws GridServiceException
GridServiceCallback
preCreate in interface GridServiceCallbackpreCreate in class GridServiceImplGridServiceException
public void initialize(GridServiceBase base)
throws GridServiceException
FactoryCallback
initialize in interface FactoryCallbackbase - factory service that this factory callback should create services for
GridServiceException - if the callback object could not be initialized
public java.lang.String createRemoteService(EJBServiceImpl skel,
java.lang.String nameClue)
throws java.rmi.RemoteException
java.rmi.RemoteException
public GridServiceBase createServiceObject(ExtensibilityType creation,
ExtensibilityTypeHolder extensibilityOutput)
throws GridServiceException
FactoryCallbackGridServiceBase interface
- Specified by:
createServiceObject in interface FactoryCallback
- Parameters:
creation - parameters the client may pass to the factory at creation time
- Throws:
GridServiceException - if the service instance could not be created
protected ExtensibilityType getCreationType(EJBObject remote,
java.lang.String nameClue)
public static java.lang.String cleanString(java.lang.String s,
int maxLen)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||