Java Doc for BasicKernel.java in  » EJB-Server-geronimo » kernel » org » apache » geronimo » kernel » basic » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » EJB Server geronimo » kernel » org.apache.geronimo.kernel.basic 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.geronimo.kernel.basic.BasicKernel

BasicKernel
public class BasicKernel implements Kernel(Code)
The core of a Geronimo instance. A Kernel is responsible for managing the Configurations that comprise a Geronimo system and exposing them using JMX. Each Kernel is associated with an MBeanServer that is used to register the Configurations themselves and the MBeans they define.

Dependencies between MBeans are handled by a dedicated DependencyManager that is responsible for tracking those dependencies and ensuring that the dependent objects follow the appropriate lifecycle and receive appropriate notifications.

The Kernel also provides a ConfigurationStore which is used to stage installed Configurations (providing a local filesystem based classpath) and used hold the persistent state of each Configuration. This allows Configurations to restart in the event of system failure. TODO: Describe the order of method invocation (e.g. if loadGbean may be before boot)
version:
   $Rev:386276 $ $Date: 2006-11-16 20:35:17 -0800 (Thu, 16 Nov 2006) $




Constructor Summary
public  BasicKernel(String kernelName)
     Construct a Kernel with the specified name.

Method Summary
public  voidboot()
    
public  AbstractNamegetAbstractNameFor(Object service)
    
public  ObjectgetAttribute(ObjectName objectName, String attributeName)
    
public  ObjectgetAttribute(AbstractName abstractName, String attributeName)
    
public  ObjectgetAttribute(String shortName, String attributeName)
    
public  ObjectgetAttribute(Class type, String attributeName)
    
public  ObjectgetAttribute(String shortName, Class type, String attributeName)
    
public  DategetBootTime()
    
public  ClassLoadergetClassLoaderFor(AbstractName name)
    
public  ClassLoadergetClassLoaderFor(String shortName)
    
public  ClassLoadergetClassLoaderFor(Class type)
    
public  ClassLoadergetClassLoaderFor(String shortName, Class type)
    
public  DependencyManagergetDependencyManager()
    
public  ObjectgetGBean(String shortName)
    
public  ObjectgetGBean(Class type)
    
public  ObjectgetGBean(String shortName, Class type)
    
public  ObjectgetGBean(ObjectName name)
    
public  ObjectgetGBean(AbstractName name)
    
public  GBeanDatagetGBeanData(AbstractName name)
    
public  GBeanDatagetGBeanData(String shortName)
    
public  GBeanDatagetGBeanData(Class type)
    
public  GBeanDatagetGBeanData(String shortName, Class type)
    
public  GBeanInfogetGBeanInfo(ObjectName name)
    
public  GBeanInfogetGBeanInfo(AbstractName name)
    
public  GBeanInfogetGBeanInfo(String shortName)
    
public  GBeanInfogetGBeanInfo(Class type)
    
public  GBeanInfogetGBeanInfo(String shortName, Class type)
    
public  longgetGBeanStartTime(AbstractName name)
    
public  longgetGBeanStartTime(String shortName)
    
public  longgetGBeanStartTime(Class type)
    
public  longgetGBeanStartTime(String shortName, Class type)
    
public  intgetGBeanState(ObjectName name)
    
public  intgetGBeanState(AbstractName name)
    
public  intgetGBeanState(String shortName)
    
public  intgetGBeanState(Class type)
    
public  intgetGBeanState(String shortName, Class type)
    
public  StringgetKernelName()
    
public  LifecycleMonitorgetLifecycleMonitor()
     Gets the lifecycle monitor.
public  NaminggetNaming()
    
public  ProxyManagergetProxyManager()
     Gets the proxy manager.
public  StringgetShortNameFor(Object service)
    
public  StringgetStateReason(AbstractName abstractName)
    
public  Objectinvoke(ObjectName objectName, String methodName)
    
public  Objectinvoke(AbstractName abstractName, String methodName)
    
public  Objectinvoke(String shortName, String methodName)
    
public  Objectinvoke(Class type, String methodName)
    
public  Objectinvoke(String shortName, Class type, String methodName)
    
public  Objectinvoke(ObjectName objectName, String methodName, Object[] args, String[] types)
    
public  Objectinvoke(AbstractName abstractName, String methodName, Object[] args, String[] types)
    
public  Objectinvoke(String shortName, String methodName, Object[] args, String[] types)
    
public  Objectinvoke(Class type, String methodName, Object[] args, String[] types)
    
public  Objectinvoke(String shortName, Class type, String methodName, Object[] args, String[] types)
    
public  booleanisLoaded(AbstractName name)
    
public  booleanisLoaded(String shortName)
    
public  booleanisLoaded(Class type)
    
public  booleanisLoaded(String shortName, Class type)
    
public  booleanisRunning(AbstractName name)
    
public  booleanisRunning(String shortName)
    
public  booleanisRunning(Class type)
    
public  booleanisRunning(String shortName, Class type)
    
public  booleanisRunning()
    
public  SetlistGBeans(ObjectName pattern)
    
public  SetlistGBeans(Set patterns)
    
public  SetlistGBeans(AbstractNameQuery query)
    
public  SetlistGBeansByInterface(String[] interfaces)
    
public  voidloadGBean(GBeanData gbeanData, ClassLoader classLoader)
    
public  voidregisterShutdownHook(Runnable hook)
    
public  voidsetAttribute(AbstractName abstractName, String attributeName, Object attributeValue)
    
public  voidsetAttribute(String shortName, String attributeName, Object attributeValue)
    
public  voidsetAttribute(Class type, String attributeName, Object attributeValue)
    
public  voidsetAttribute(String shortName, Class type, String attributeName, Object attributeValue)
    
public  voidshutdown()
     Shut down this kernel instance, unregistering the MBeans and releasing the MBeanServer.
public  voidstartGBean(AbstractName name)
    
public  voidstartGBean(String shortName)
    
public  voidstartGBean(Class type)
    
public  voidstartGBean(String shortName, Class type)
    
public  voidstartRecursiveGBean(AbstractName name)
    
public  voidstartRecursiveGBean(String shortName)
    
public  voidstartRecursiveGBean(Class type)
    
public  voidstartRecursiveGBean(String shortName, Class type)
    
public  voidstopGBean(AbstractName name)
    
public  voidstopGBean(String shortName)
    
public  voidstopGBean(Class type)
    
public  voidstopGBean(String shortName, Class type)
    
public  voidunloadGBean(AbstractName name)
    
public  voidunloadGBean(String shortName)
    
public  voidunloadGBean(Class type)
    
public  voidunloadGBean(String shortName, Class type)
    
public  voidunregisterShutdownHook(Runnable hook)
    


Constructor Detail
BasicKernel
public BasicKernel(String kernelName)(Code)
Construct a Kernel with the specified name.
Parameters:
  kernelName - the name of the kernel




Method Detail
boot
public void boot() throws Exception(Code)
Boot this Kernel, triggering the instantiation of the MBeanServer and DependencyManager, and the registration of ConfigurationStore
throws:
  java.lang.Exception - if the boot fails



getAbstractNameFor
public AbstractName getAbstractNameFor(Object service)(Code)



getAttribute
public Object getAttribute(ObjectName objectName, String attributeName) throws GBeanNotFoundException, NoSuchAttributeException, Exception(Code)



getAttribute
public Object getAttribute(AbstractName abstractName, String attributeName) throws GBeanNotFoundException, NoSuchAttributeException, Exception(Code)



getAttribute
public Object getAttribute(String shortName, String attributeName) throws GBeanNotFoundException, NoSuchAttributeException, Exception(Code)



getAttribute
public Object getAttribute(Class type, String attributeName) throws GBeanNotFoundException, NoSuchAttributeException, Exception(Code)



getAttribute
public Object getAttribute(String shortName, Class type, String attributeName) throws GBeanNotFoundException, NoSuchAttributeException, Exception(Code)



getBootTime
public Date getBootTime()(Code)



getClassLoaderFor
public ClassLoader getClassLoaderFor(AbstractName name) throws GBeanNotFoundException(Code)



getClassLoaderFor
public ClassLoader getClassLoaderFor(String shortName) throws GBeanNotFoundException(Code)



getClassLoaderFor
public ClassLoader getClassLoaderFor(Class type) throws GBeanNotFoundException(Code)



getClassLoaderFor
public ClassLoader getClassLoaderFor(String shortName, Class type) throws GBeanNotFoundException(Code)



getDependencyManager
public DependencyManager getDependencyManager()(Code)



getGBean
public Object getGBean(String shortName) throws GBeanNotFoundException, InternalKernelException, IllegalStateException(Code)



getGBean
public Object getGBean(Class type) throws GBeanNotFoundException, InternalKernelException, IllegalStateException(Code)



getGBean
public Object getGBean(String shortName, Class type) throws GBeanNotFoundException, InternalKernelException, IllegalStateException(Code)



getGBean
public Object getGBean(ObjectName name) throws GBeanNotFoundException, InternalKernelException, IllegalStateException(Code)



getGBean
public Object getGBean(AbstractName name) throws GBeanNotFoundException, InternalKernelException, IllegalStateException(Code)



getGBeanData
public GBeanData getGBeanData(AbstractName name) throws GBeanNotFoundException, InternalKernelException(Code)



getGBeanData
public GBeanData getGBeanData(String shortName) throws GBeanNotFoundException, InternalKernelException(Code)



getGBeanData
public GBeanData getGBeanData(Class type) throws GBeanNotFoundException, InternalKernelException(Code)



getGBeanData
public GBeanData getGBeanData(String shortName, Class type) throws GBeanNotFoundException, InternalKernelException(Code)



getGBeanInfo
public GBeanInfo getGBeanInfo(ObjectName name) throws GBeanNotFoundException(Code)



getGBeanInfo
public GBeanInfo getGBeanInfo(AbstractName name) throws GBeanNotFoundException(Code)



getGBeanInfo
public GBeanInfo getGBeanInfo(String shortName) throws GBeanNotFoundException(Code)



getGBeanInfo
public GBeanInfo getGBeanInfo(Class type) throws GBeanNotFoundException(Code)



getGBeanInfo
public GBeanInfo getGBeanInfo(String shortName, Class type) throws GBeanNotFoundException(Code)



getGBeanStartTime
public long getGBeanStartTime(AbstractName name) throws GBeanNotFoundException(Code)



getGBeanStartTime
public long getGBeanStartTime(String shortName) throws GBeanNotFoundException(Code)



getGBeanStartTime
public long getGBeanStartTime(Class type) throws GBeanNotFoundException(Code)



getGBeanStartTime
public long getGBeanStartTime(String shortName, Class type) throws GBeanNotFoundException(Code)



getGBeanState
public int getGBeanState(ObjectName name) throws GBeanNotFoundException(Code)



getGBeanState
public int getGBeanState(AbstractName name) throws GBeanNotFoundException(Code)



getGBeanState
public int getGBeanState(String shortName) throws GBeanNotFoundException(Code)



getGBeanState
public int getGBeanState(Class type) throws GBeanNotFoundException(Code)



getGBeanState
public int getGBeanState(String shortName, Class type) throws GBeanNotFoundException(Code)



getKernelName
public String getKernelName()(Code)



getLifecycleMonitor
public LifecycleMonitor getLifecycleMonitor()(Code)
Gets the lifecycle monitor.



getNaming
public Naming getNaming()(Code)



getProxyManager
public ProxyManager getProxyManager()(Code)
Gets the proxy manager.



getShortNameFor
public String getShortNameFor(Object service)(Code)



getStateReason
public String getStateReason(AbstractName abstractName)(Code)



invoke
public Object invoke(ObjectName objectName, String methodName) throws GBeanNotFoundException, NoSuchOperationException, InternalKernelException, Exception(Code)



invoke
public Object invoke(AbstractName abstractName, String methodName) throws GBeanNotFoundException, NoSuchOperationException, InternalKernelException, Exception(Code)



invoke
public Object invoke(String shortName, String methodName) throws GBeanNotFoundException, NoSuchOperationException, InternalKernelException, Exception(Code)



invoke
public Object invoke(Class type, String methodName) throws GBeanNotFoundException, NoSuchOperationException, InternalKernelException, Exception(Code)



invoke
public Object invoke(String shortName, Class type, String methodName) throws GBeanNotFoundException, NoSuchOperationException, InternalKernelException, Exception(Code)



invoke
public Object invoke(ObjectName objectName, String methodName, Object[] args, String[] types) throws GBeanNotFoundException, NoSuchOperationException, InternalKernelException, Exception(Code)



invoke
public Object invoke(AbstractName abstractName, String methodName, Object[] args, String[] types) throws GBeanNotFoundException, NoSuchOperationException, InternalKernelException, Exception(Code)



invoke
public Object invoke(String shortName, String methodName, Object[] args, String[] types) throws GBeanNotFoundException, NoSuchOperationException, InternalKernelException, Exception(Code)



invoke
public Object invoke(Class type, String methodName, Object[] args, String[] types) throws GBeanNotFoundException, NoSuchOperationException, InternalKernelException, Exception(Code)



invoke
public Object invoke(String shortName, Class type, String methodName, Object[] args, String[] types) throws GBeanNotFoundException, NoSuchOperationException, InternalKernelException, Exception(Code)



isLoaded
public boolean isLoaded(AbstractName name)(Code)



isLoaded
public boolean isLoaded(String shortName)(Code)



isLoaded
public boolean isLoaded(Class type)(Code)



isLoaded
public boolean isLoaded(String shortName, Class type)(Code)



isRunning
public boolean isRunning(AbstractName name)(Code)



isRunning
public boolean isRunning(String shortName)(Code)



isRunning
public boolean isRunning(Class type)(Code)



isRunning
public boolean isRunning(String shortName, Class type)(Code)



isRunning
public boolean isRunning()(Code)



listGBeans
public Set listGBeans(ObjectName pattern)(Code)



listGBeans
public Set listGBeans(Set patterns)(Code)



listGBeans
public Set listGBeans(AbstractNameQuery query)(Code)



listGBeansByInterface
public Set listGBeansByInterface(String[] interfaces)(Code)



loadGBean
public void loadGBean(GBeanData gbeanData, ClassLoader classLoader) throws GBeanAlreadyExistsException, InternalKernelException(Code)



registerShutdownHook
public void registerShutdownHook(Runnable hook)(Code)



setAttribute
public void setAttribute(AbstractName abstractName, String attributeName, Object attributeValue) throws GBeanNotFoundException, NoSuchAttributeException, Exception(Code)



setAttribute
public void setAttribute(String shortName, String attributeName, Object attributeValue) throws GBeanNotFoundException, NoSuchAttributeException, Exception(Code)



setAttribute
public void setAttribute(Class type, String attributeName, Object attributeValue) throws GBeanNotFoundException, NoSuchAttributeException, Exception(Code)



setAttribute
public void setAttribute(String shortName, Class type, String attributeName, Object attributeValue) throws GBeanNotFoundException, NoSuchAttributeException, Exception(Code)



shutdown
public void shutdown()(Code)
Shut down this kernel instance, unregistering the MBeans and releasing the MBeanServer.



startGBean
public void startGBean(AbstractName name) throws GBeanNotFoundException, InternalKernelException, IllegalStateException(Code)



startGBean
public void startGBean(String shortName) throws GBeanNotFoundException, InternalKernelException, IllegalStateException(Code)



startGBean
public void startGBean(Class type) throws GBeanNotFoundException, InternalKernelException, IllegalStateException(Code)



startGBean
public void startGBean(String shortName, Class type) throws GBeanNotFoundException, InternalKernelException, IllegalStateException(Code)



startRecursiveGBean
public void startRecursiveGBean(AbstractName name) throws GBeanNotFoundException, InternalKernelException, IllegalStateException(Code)



startRecursiveGBean
public void startRecursiveGBean(String shortName) throws GBeanNotFoundException, InternalKernelException, IllegalStateException(Code)



startRecursiveGBean
public void startRecursiveGBean(Class type) throws GBeanNotFoundException, InternalKernelException, IllegalStateException(Code)



startRecursiveGBean
public void startRecursiveGBean(String shortName, Class type) throws GBeanNotFoundException, InternalKernelException, IllegalStateException(Code)



stopGBean
public void stopGBean(AbstractName name) throws GBeanNotFoundException, InternalKernelException, IllegalStateException(Code)



stopGBean
public void stopGBean(String shortName) throws GBeanNotFoundException, InternalKernelException, IllegalStateException(Code)



stopGBean
public void stopGBean(Class type) throws GBeanNotFoundException, InternalKernelException, IllegalStateException(Code)



stopGBean
public void stopGBean(String shortName, Class type) throws GBeanNotFoundException, InternalKernelException, IllegalStateException(Code)



unloadGBean
public void unloadGBean(AbstractName name) throws GBeanNotFoundException, InternalKernelException, IllegalStateException(Code)



unloadGBean
public void unloadGBean(String shortName) throws GBeanNotFoundException, InternalKernelException, IllegalStateException(Code)



unloadGBean
public void unloadGBean(Class type) throws GBeanNotFoundException, InternalKernelException, IllegalStateException(Code)



unloadGBean
public void unloadGBean(String shortName, Class type) throws GBeanNotFoundException, InternalKernelException, IllegalStateException(Code)



unregisterShutdownHook
public void unregisterShutdownHook(Runnable hook)(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.