public class BlueprintResourceFactory extends Object implements ResourceProvider
| Constructor and Description |
|---|
BlueprintResourceFactory() |
BlueprintResourceFactory(String name) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getInstance(Message m)
Returns the resource instance which will handle the current request
|
Class<?> |
getResourceClass()
Returns the Class of the resource
|
boolean |
isSingleton()
Indicates if the managed resource is a singleton
|
void |
releaseInstance(Message m,
Object o)
Releases the resource instance if needed
|
void |
setBeanId(String serviceBeanId) |
void |
setBlueprintContainer(org.osgi.service.blueprint.container.BlueprintContainer blueprintContainer) |
public BlueprintResourceFactory()
public BlueprintResourceFactory(String name)
public Object getInstance(Message m)
ResourceProvidergetInstance in interface ResourceProviderm - the current request messagepublic boolean isSingleton()
ResourceProviderisSingleton in interface ResourceProviderpublic void releaseInstance(Message m, Object o)
ResourceProviderreleaseInstance in interface ResourceProviderm - the current request messageo - resource instancepublic void setBeanId(String serviceBeanId)
public Class<?> getResourceClass()
ResourceProvidergetResourceClass in interface ResourceProviderpublic void setBlueprintContainer(org.osgi.service.blueprint.container.BlueprintContainer blueprintContainer)
Apache CXF