Class LocalServiceDescriptor
java.lang.Object
chemaxon.marvin.services.ServiceDescriptor
chemaxon.marvin.services.localservice.LocalServiceDescriptor
Service Descriptor for java based local services.
Functions implemented in separate jar files can be used as service via this
descriptor class.
- Since:
- 5.6
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Property key for Service class name asString
Fields inherited from class chemaxon.marvin.services.ServiceDescriptor
ALIAS, ARGUMENTS, DESCRIPTION, METHOD, NAME, propertyChangeSupport, serviceHandler, URL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreates a new service handler for this descriptor.Returns the full class name of the servicegetIcon()
Returns the icon of service descriptor ornull
if no iconReturns the simple name of the service typevoid
setClassName
(String className) Sets the full class name of the serviceMethods inherited from class chemaxon.marvin.services.ServiceDescriptor
addArgument, getAlias, getArgument, getArgumentCount, getArguments, getDescription, getMethodName, getName, getProperty, getPropertyChangeSupport, getPropertyKeys, getServiceHandler, getURL, isAvailable, removeArgument, setAlias, setArgument, setDescription, setMethodName, setName, setProperty, setURL, toString
-
Field Details
-
CLASS
Property key for Service class name asString
- See Also:
-
-
Constructor Details
-
LocalServiceDescriptor
public LocalServiceDescriptor()
-
-
Method Details
-
getClassName
Returns the full class name of the service- Returns:
- the full class name of the service
-
setClassName
Sets the full class name of the service- Parameters:
className
- the new service name
-
getIcon
Description copied from class:ServiceDescriptor
Returns the icon of service descriptor ornull
if no icon- Overrides:
getIcon
in classServiceDescriptor
- Returns:
- the icon of service descriptor or
null
if no icon
-
getSimpleName
Description copied from class:ServiceDescriptor
Returns the simple name of the service type- Overrides:
getSimpleName
in classServiceDescriptor
- Returns:
- the simple name of the service type
-
createServiceHandler
Description copied from class:ServiceDescriptor
Creates a new service handler for this descriptor. The returned handler is capable to perform service call on the service described by this descriptor- Specified by:
createServiceHandler
in classServiceDescriptor
- Returns:
- a service handler instance for this descriptor
-