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 java.lang.String |
scope
The scope.
|
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,
java.lang.String scope,
PublishInfo publish,
java.util.List<UnparsedExpression> properties)
Create a new service info.
|
ProvidedServiceInfo(java.lang.String name,
ClassInfo type,
ProvidedServiceImplementation implementation,
java.lang.String scope,
PublishInfo publish,
java.util.List<UnparsedExpression> properties)
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.
|
java.lang.String |
getScope()
Get the scope.
|
ClassInfo |
getType()
Get the type.
|
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(java.lang.String scope)
Set the scope.
|
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 java.lang.String scope
protected java.util.List<UnparsedExpression> properties
public ProvidedServiceInfo()
public ProvidedServiceInfo(java.lang.String name, java.lang.Class<?> type, ProvidedServiceImplementation implementation, java.lang.String scope, PublishInfo publish, java.util.List<UnparsedExpression> properties)
public ProvidedServiceInfo(java.lang.String name, ClassInfo type, ProvidedServiceImplementation implementation, java.lang.String scope, PublishInfo publish, java.util.List<UnparsedExpression> properties)
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 java.lang.String getScope()
public void setScope(java.lang.String scope)
scope
- The scope to set.public java.lang.String toString()
toString
in class java.lang.Object