org.jboss.ejb3
Class MCKernelAbstraction

java.lang.Object
  extended by org.jboss.ejb3.MCClientKernelAbstraction
      extended by org.jboss.ejb3.MCKernelAbstraction
All Implemented Interfaces:
ClientKernelAbstraction, KernelAbstraction

public class MCKernelAbstraction
extends MCClientKernelAbstraction
implements KernelAbstraction

Abstraction layer for installing beans into the micro container.

Version:
$Revision: 72606 $
Author:
Bill Burke

Nested Class Summary
static class MCKernelAbstraction.AlreadyInstantiated
           
 
Field Summary
 
Fields inherited from class org.jboss.ejb3.MCClientKernelAbstraction
kernel
 
Constructor Summary
MCKernelAbstraction(org.jboss.kernel.Kernel kernel, MBeanServer server)
           
 
Method Summary
 void install(String name, DependencyPolicy dependencies, DeploymentUnit unit, Object service)
           
 void installMBean(ObjectName on, DependencyPolicy dependencies, Object service)
           
 Object invoke(ObjectName objectName, String operationName, Object[] params, String[] signature)
           
 void setMbeanServer(MBeanServer server)
           
 void uninstall(String name)
           
 void uninstallMBean(ObjectName on)
           
 
Methods inherited from class org.jboss.ejb3.MCClientKernelAbstraction
getAttribute, getMBeans
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.ejb3.ClientKernelAbstraction
getAttribute, getMBeans
 

Constructor Detail

MCKernelAbstraction

public MCKernelAbstraction(org.jboss.kernel.Kernel kernel,
                           MBeanServer server)
Method Detail

setMbeanServer

public void setMbeanServer(MBeanServer server)
Specified by:
setMbeanServer in interface KernelAbstraction

install

public void install(String name,
                    DependencyPolicy dependencies,
                    DeploymentUnit unit,
                    Object service)
Specified by:
install in interface KernelAbstraction

installMBean

public void installMBean(ObjectName on,
                         DependencyPolicy dependencies,
                         Object service)
Specified by:
installMBean in interface KernelAbstraction

uninstallMBean

public void uninstallMBean(ObjectName on)
Specified by:
uninstallMBean in interface KernelAbstraction

uninstall

public void uninstall(String name)
Specified by:
uninstall in interface KernelAbstraction

invoke

public Object invoke(ObjectName objectName,
                     String operationName,
                     Object[] params,
                     String[] signature)
              throws Exception
Specified by:
invoke in interface ClientKernelAbstraction
Overrides:
invoke in class MCClientKernelAbstraction
Throws:
Exception


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.