org.apache.openejb.spring
Class AbstractApplication
java.lang.Object
org.apache.openejb.spring.AbstractApplication
- All Implemented Interfaces:
- org.springframework.context.ApplicationContextAware
- Direct Known Subclasses:
- Application, ClassPathApplication
public abstract class AbstractApplication
- extends java.lang.Object
- implements org.springframework.context.ApplicationContextAware
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
applications
protected final java.util.List<AppInfo> applications
openEJB
protected OpenEJB openEJB
started
protected boolean started
export
protected boolean export
AbstractApplication
public AbstractApplication()
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
getOpenEJB
public OpenEJB getOpenEJB()
setOpenEJB
public void setOpenEJB(OpenEJB openEJB)
isExport
public boolean isExport()
setExport
public void setExport(boolean export)
loadApplications
protected abstract java.util.List<AppInfo> loadApplications()
throws OpenEJBException
- Throws:
OpenEJBException
start
@PostConstruct
public void start()
throws OpenEJBException
- Throws:
OpenEJBException
deployApplication
protected void deployApplication()
throws OpenEJBException
- Throws:
OpenEJBException
getEjbBindings
public java.util.Map<java.lang.String,EJB> getEjbBindings(JndiBuilder.JndiNameStrategy strategy,
CoreDeploymentInfo deployment)
createStrategy
public JndiBuilder.JndiNameStrategy createStrategy(AppInfo appInfo,
java.util.List<DeploymentInfo> deployments,
DeploymentInfo deployment)
throws OpenEJBException
- Throws:
OpenEJBException
stop
@PreDestroy
public void stop()
getAssembler
protected Assembler getAssembler()
Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.