|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cxf.jaxrs.blueprint.BlueprintResourceFactory
public class BlueprintResourceFactory
Constructor Summary | |
---|---|
BlueprintResourceFactory()
|
|
BlueprintResourceFactory(String name)
|
Method Summary | |
---|---|
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(BlueprintContainer blueprintContainer)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BlueprintResourceFactory()
public BlueprintResourceFactory(String name)
Method Detail |
---|
public Object getInstance(Message m)
ResourceProvider
getInstance
in interface ResourceProvider
m
- the current request message
public boolean isSingleton()
ResourceProvider
isSingleton
in interface ResourceProvider
public void releaseInstance(Message m, Object o)
ResourceProvider
releaseInstance
in interface ResourceProvider
m
- the current request messageo
- resource instancepublic void setBeanId(String serviceBeanId)
public Class<?> getResourceClass()
ResourceProvider
getResourceClass
in interface ResourceProvider
public void setBlueprintContainer(BlueprintContainer blueprintContainer)
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |