public abstract class ServiceInterface extends Service
Service
class and be used with the implemented services, interfaces and related GUIs. If using
autonomic methods, you can extend the AutoInterface instead.| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
serverPassword
Local server password
|
protected org.licas_xml.abs.Element |
serverUri
Server URI that this service runs on
|
protected org.licas_xml.abs.Element |
serviceUri
Full URI for this service, invoked locally
|
canAccessMeta, canAccessNested, dm, finalised, isRemoteCall, messageStore, serviceAdmin, serviceGrade, serviceInitialise, serviceLinks, serviceState, sm, toLoadScriptshutDownpasswordHandler, service, serviceTypejarFile, syncOn, uuid| Constructor and Description |
|---|
ServiceInterface(java.lang.String serviceUuid,
java.lang.String serviceType,
java.lang.String password,
java.lang.String adminKey)
Creates a new instance of ServiceInterface.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setServiceDetails(org.licas_xml.abs.Element theServiceUrl,
java.lang.String theServerPassword)
Set the service details so that this interface can be called.
|
addCommunicationID, addDefaultService, addDefaultService, addDefaultService, addDefaultService, addLinkFromService, addLinkToService, addMessageMetrics, addService, addService, addService, addService, addServiceAssociation, addServicePassword, addTempPassword, allowAddService, canAccess, canAccess, canAccess, canAccess, canAccessMeta, canAccessNested, canAccessTemp, canRun, classNameOK, clearServiceLinks, clearServices, clearServices, close, createMetaForRepos, createMetaFull, createPermanentLinkTo, createServiceWrapper, defaultAdminToRemove, dynamicLinkQuery, dynamicLinksToPermanent, dynamicLinksToXml, dynamicLinksToXml, execute, finaliseInitialisation, finaliseInitialisation, finaliseModule, finaliseThisConfig, GET, getAllLinkToService, getAllowAddService, getAutonomicManagerConfig, getCommunicationClientURI, getData, getData, getDescription, getFullPath, getInstanceValue, getIsRemoteCall, getLinkFromService, getLinkToService, getLocalRemoteID, getParent, getParent, getPassword, getPassword, getPassword, getPasswordHandler, getPrivateMethods, getPublicMethods, getPublicServiceClassname, getServerPassword, getService, getService, getServiceAdmin, getServiceClasses, getServiceGrade, getServiceLinks, getServiceNames, getServiceNames, getServiceNames, getServiceNumber, getServiceOrWrapper, getServiceState, getServiceType, getServiceTypes, handshake, hasCommunicationID, hasLinkTo, hasServerPassword, hasService, hasServiceType, interrupt, isCorrectPassword, isPrivateMethod, isPublicMethod, isStarted, linksToXml, passwordsStateToXml, permanentLinksToXml, reflectionMethods, reflectionObject, removeAllLinksTo, removeAllServices, removeAllServices, removeCommunicationID, removeLinkFromService, removeLinkToService, removePermanentLinkTo, removeServiceAssociation, removeServiceID, removeServicePath, removeServicePath, removeTempPassword, serviceNegotiate, serviceToXml, serviceToXml, setAdminInfo, setCanAccessMeta, setCanAccessNested, setData, setDataModule, setDataModule, setDescription, setInstanceValues, setIsRemoteCall, setOtherMeta, setParent, setParent, setSerializeValues, setServerPassword, setServiceGrade, setServiceModule, setServiceState, startAllThreads, startThread, stopAllThreads, syncToAsync, syncToAsyncReply, syncToAsyncTransit, xmlToDynamicLinks, xmlToServicegetShutDown, setShutDown, setShutDowncanAccess, getPasswordHandler, getServicePassword, getServiceType, isAdminKey, setServiceDetails, setServiceTypegetJarFile, getUUID, loadObject, setJarFile, setUUID, threadAliveStateactiveCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetUUID, setJarFile, setUUIDprotected org.licas_xml.abs.Element serviceUri
protected org.licas_xml.abs.Element serverUri
protected java.lang.String serverPassword
public ServiceInterface(java.lang.String serviceUuid,
java.lang.String serviceType,
java.lang.String password,
java.lang.String adminKey)
throws java.lang.Exception
serviceUuid - uuid of service on server.serviceType - the service type.password - of service on server.adminKey - of service on server.java.lang.Exception - any error.public void setServiceDetails(org.licas_xml.abs.Element theServiceUrl,
java.lang.String theServerPassword)
throws java.lang.Exception
theServiceUrl - the full url path to the service that the GUI is for.
The server url is constructed from this.theServerPassword - the password for the local server.java.lang.Exception - any error.