|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.chorem.lima.service.LimaServiceFactory
public class LimaServiceFactory
This class is a service factory based on embedded openejb container.
| Field Summary | |
|---|---|
protected static InitialContext |
ctx
JNDI context used to look for EJB. |
protected Map<Class<?>,Object> |
services
|
| Constructor Summary | |
|---|---|
protected |
LimaServiceFactory()
Init openejb jndi context. |
| Method Summary | ||
|---|---|---|
void |
destroy()
Destroy openejb jndi context. |
|
static LimaServiceFactory |
getInstance()
Return service factory singleton instance. |
|
|
getService(Class<M> serviceMonitorableClass)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Map<Class<?>,Object> services
protected static InitialContext ctx
| Constructor Detail |
|---|
protected LimaServiceFactory()
| Method Detail |
|---|
public static LimaServiceFactory getInstance()
public <M> M getService(Class<M> serviceMonitorableClass)
public void destroy()
throws Exception
Exception - when trying to destroy a non existent application
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||