| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public <T> Object | create(Class<T>
Class to be created.Implements abstract org. Create new instance. |
| public boolean | destroy(Object
instance to be destroyed. o)Implements abstract org. Destroys the given managed instance. |
| public Method | getInvocableMethod(Method
method from endpoint class. method)Overrides org. Get the method which should be invoked instead provided one. |
| public boolean | isApplicable(Class<?>
Class to be checked.Implements abstract org. Checks whether this component provider is able to provide an instance of given |
| DefaultComponentProvider | back to summary |
|---|---|
| public DefaultComponentProvider() | |
| create | back to summary |
|---|---|
| public <T> Object create(Class<T> toLoad) Implements abstract org. Doc from org. Create new instance. | |
| destroy | back to summary |
|---|---|
| public boolean destroy(Object o) Implements abstract org. Doc from org. Destroys the given managed instance.
| |
| getInvocableMethod | back to summary |
|---|---|
| public Method getInvocableMethod(Method method) Overrides org. Doc from org. Get the method which should be invoked instead provided one. Useful mainly for EJB container support, where methods from endpoint class cannot be invoked directly - Tyrus needs to use method declared on remote interface. Default implementation returns method provided as parameter. | |
| isApplicable | back to summary |
|---|---|
| public boolean isApplicable(Class<?> c) Implements abstract org. Doc from org. Checks whether this component provider is able to provide an instance of given
| |