| 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. |
| private String | |
| public boolean | isApplicable(Class<?>
Class to be checked.Implements abstract org. Checks whether this component provider is able to provide an instance of given |
| private Object | |
| private Object | |
| private Object |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| EjbComponentProvider | back to summary |
|---|---|
| public EjbComponentProvider() | |
| create | back to summary |
|---|---|
| public <T> Object create(Class<T> c) 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. | |
| getName | back to summary |
|---|---|
| private String getName(Class<?> c) | |
| 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
| |
| lookup | back to summary |
|---|---|
| private Object lookup(InitialContext ic, Class<?> c, String name) throws NamingException | |
| lookupFullyQualfiedForm | back to summary |
|---|---|
| private Object lookupFullyQualfiedForm(InitialContext ic, Class<?> c, String name) throws NamingException | |
| lookupSimpleForm | back to summary |
|---|---|
| private Object lookupSimpleForm(InitialContext ic, String name) throws NamingException | |