Method Summary |
|
protected void | deployEJB(EJBDeployable ejbDeployable) Deploy an EJB (called by the deploy method). |
protected ClassLoader | getClassLoaderForEAR(EARDeployable earDeployable) Build and return a classloader for the given EAR. |
public EZBServer | getEmbedded() |
protected List<IArchive> | getLibArchives(EARDeployable earDeployable) Gets Archives of the libraries of this EAR.
Parameters: earDeployable - the given EAR deployable. |
protected static Method | getMethod(Class clazz, String methodName, Class... parameters) Get the method on the given class with the given method name and the
given parameters. |
protected PersistenceUnitManager | getPersistenceUnitManager(EARDeployable earDeployable, ClassLoader appClassLoader) Gets the persistence unit manager for the given EAR and classloader. |
protected static Object | invoke(Method method, Object object, Object... args) Invoke the given method on the given object (null for static method) and
with the given args. |
public boolean | isDeployed(IDeployable> deployable) Checks if the given deployable is deployed or not.
Parameters: deployable - test if a given deployable is already deployed. |
protected static Class | loadClass(String className) Load the given class with its given classname. |
protected static Class | loadClass(String className, ClassLoader classLoader) Load the given class with its given classname. |
protected static Object | newInstance(Class clazz) Build an instance of the given class. |
protected static Object | newInstance(Constructor constructor, Object... parameters) Build an instance by using the given constructor and given parameters. |
public void | setEmbedded(EZBServer embedded) Receive Embedded instance for this deployer. |
public boolean | supports(IDeployable> deployable) Checks if the given deployable is supported by the Deployer. |
protected void | undeployEJB3FromEAR(EARDeployable earDeployable) Undeploy EJB3s of an EAR (called by the undeploy method). |
protected EARDeployable | unpackEARDeployable(EARDeployable earDeployable) Unpack the given archive in a temp folder, then build a local EARDeployable and fill it with submodules and then return it.
Parameters: earDeployable - the archive to unpack. |