public class ProvidedServiceInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected ProvidedServiceImplementation |
implementation
The service implementation.
|
protected java.lang.String |
name
The name (used for referencing).
|
protected java.util.List<UnparsedExpression> |
properties
The service properties.
|
protected PublishInfo |
publish
Publish information.
|
protected ServiceScope |
scope
The scope.
|
protected boolean |
systemservice
Flag if it is a system service.
|
protected ClassInfo |
type
The type.
|
protected java.lang.String |
typename
The service interface type as string.
|
Constructor and Description |
---|
ProvidedServiceInfo()
Create a new service info.
|
ProvidedServiceInfo(java.lang.String name,
java.lang.Class<?> type,
ProvidedServiceImplementation implementation,
ServiceScope scope,
PublishInfo publish,
java.util.List<UnparsedExpression> properties)
Create a new service info.
|
ProvidedServiceInfo(java.lang.String name,
ClassInfo type,
ProvidedServiceImplementation implementation,
ServiceScope scope,
PublishInfo publish,
java.util.List<UnparsedExpression> properties,
boolean systemservice)
Create a new service info.
|
Modifier and Type | Method and Description |
---|---|
ProvidedServiceImplementation |
getImplementation()
Get the implementation.
|
java.lang.String |
getName()
Get the name.
|
java.util.List<UnparsedExpression> |
getProperties() |
PublishInfo |
getPublish()
Get the publish.
|
ServiceScope |
getScope()
Get the scope.
|
ClassInfo |
getType()
Get the type.
|
boolean |
isSystemService()
Get the systemservice.
|
void |
setImplementation(ProvidedServiceImplementation implementation)
Set the implementation.
|
void |
setName(java.lang.String name)
Set the name.
|
void |
setProperties(java.util.List<UnparsedExpression> properties) |
void |
setPublish(PublishInfo publish)
Set the publish.
|
void |
setScope(ServiceScope scope)
Set the scope.
|
void |
setSystemService(boolean systemservice)
Set the systemservice.
|
void |
setType(ClassInfo type)
Set the type.
|
java.lang.String |
toString()
Get the string representation.
|
protected java.lang.String name
protected java.lang.String typename
protected ClassInfo type
protected ProvidedServiceImplementation implementation
protected PublishInfo publish
protected ServiceScope scope
protected java.util.List<UnparsedExpression> properties
protected boolean systemservice
public ProvidedServiceInfo()
public ProvidedServiceInfo(java.lang.String name, java.lang.Class<?> type, ProvidedServiceImplementation implementation, ServiceScope scope, PublishInfo publish, java.util.List<UnparsedExpression> properties)
public ProvidedServiceInfo(java.lang.String name, ClassInfo type, ProvidedServiceImplementation implementation, ServiceScope scope, PublishInfo publish, java.util.List<UnparsedExpression> properties, boolean systemservice)
public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name to set.public ClassInfo getType()
public void setType(ClassInfo type)
type
- The type to set.public ProvidedServiceImplementation getImplementation()
public void setImplementation(ProvidedServiceImplementation implementation)
implementation
- The implementation to set.public PublishInfo getPublish()
public void setPublish(PublishInfo publish)
publish
- The publish to set.public java.util.List<UnparsedExpression> getProperties()
public void setProperties(java.util.List<UnparsedExpression> properties)
properties
- the properties to setpublic ServiceScope getScope()
public void setScope(ServiceScope scope)
scope
- The scope to set.public boolean isSystemService()
public void setSystemService(boolean systemservice)
systemservice
- The systemservice to setpublic java.lang.String toString()
toString
in class java.lang.Object