Class ServiceAdapter
java.lang.Object
com.sun.enterprise.admin.servermgmt.services.ServiceAdapter
- All Implemented Interfaces:
Service
- Direct Known Subclasses:
NonSMFServiceAdapter,SMFService
- Author:
- bnevins
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sun.enterprise.admin.servermgmt.services.Service
createServiceInternal, deleteServiceInternal, getLocationArgsStart, getLocationArgsStop, getManifestFile, getManifestTemplateFile, getServiceProperties, getSuccessMessage, getTimeoutSeconds, initializeInternal, isConfigValid, setServiceProperties, setTimeoutSeconds, tokensAndValues, writeReadmeFile
-
Method Details
-
deleteService
public final void deleteService()- Specified by:
deleteServicein interfaceService
-
getInfo
-
isDomain
public final boolean isDomain() -
isInstance
public final boolean isInstance()- Specified by:
isInstancein interfaceService
-
getServerDirs
public final com.sun.enterprise.util.io.ServerDirs getServerDirs()Description copied from interface:Serviceget the dirs with this thread-safe immutable guaranteed object. It saves a LOT of error checking... You should set the variable in the constructor. You are not allowed to change it later- Specified by:
getServerDirsin interfaceService
-
createService
public final void createService()Description copied from interface:ServiceCreates an arbitrary service, specified by certain parameters. The implementations should dictate the mappings in the parameters received. The creation of service is either successful or not. In other words, the implementations must retain the original state of the operating platform if the service creation is not successful completely.- Specified by:
createServicein interfaceService
-
getLocationArgsRestart
- Specified by:
getLocationArgsRestartin interfaceService
-