|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.resource.deployment.AdminObject
public class AdminObject
An admin object deployment
| Field Summary | |
|---|---|
protected String |
jndiName
The jndi name |
protected Properties |
properties
The properties |
protected javax.management.ObjectName |
rarName
The resource adapter name |
protected String |
type
The admin object type |
| Fields inherited from class org.jboss.system.ServiceMBeanSupport |
|---|
log, server, SERVICE_CONTROLLER_SIG, serviceName |
| Fields inherited from interface org.jboss.resource.deployment.AdminObjectMBean |
|---|
OBJECT_NAME |
| Fields inherited from interface org.jboss.system.ServiceMBean |
|---|
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
| Constructor Summary | |
|---|---|
AdminObject()
|
|
| Method Summary | |
|---|---|
protected void |
bind(Object object)
Bind the object into jndi |
protected Object |
createAdminObject(AdminObjectMetaData aomd)
Create the admin object |
String |
getJNDIName()
Get the jndi name |
Properties |
getProperties()
Get the properties |
javax.management.ObjectName |
getRARName()
Get the rar name |
String |
getType()
Get the interface type |
protected AdminObjectMetaData |
retrieveAdminObjectMetaData()
Retrieve the admin object metadata |
void |
setJNDIName(String jndiName)
Set the jndi name |
void |
setProperties(Properties properties)
Set the properties |
void |
setRARName(javax.management.ObjectName rarName)
Set the rar name |
void |
setType(String type)
Set the interface type |
protected void |
startService()
|
protected void |
stopService()
|
protected void |
unbind()
Unbind the object from jndi |
| Methods inherited from class org.jboss.system.ServiceMBeanSupport |
|---|
create, createService, destroy, destroyService, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop |
| Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
|---|
addNotificationListener, getNotificationInfo, handleNotification, nextNotificationSequenceNumber, removeNotificationListener, removeNotificationListener, sendNotification |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jboss.system.ServiceMBean |
|---|
getName, getState, getStateString, jbossInternalLifecycle |
| Methods inherited from interface org.jboss.system.Service |
|---|
create, destroy, start, stop |
| Field Detail |
|---|
protected javax.management.ObjectName rarName
protected String type
protected Properties properties
protected String jndiName
| Constructor Detail |
|---|
public AdminObject()
| Method Detail |
|---|
public String getJNDIName()
AdminObjectMBean
getJNDIName in interface AdminObjectMBeanpublic void setJNDIName(String jndiName)
AdminObjectMBean
setJNDIName in interface AdminObjectMBeanjndiName - the jndi namepublic Properties getProperties()
AdminObjectMBean
getProperties in interface AdminObjectMBeanpublic void setProperties(Properties properties)
AdminObjectMBean
setProperties in interface AdminObjectMBeanproperties - the propertiespublic javax.management.ObjectName getRARName()
AdminObjectMBean
getRARName in interface AdminObjectMBeanpublic void setRARName(javax.management.ObjectName rarName)
AdminObjectMBean
setRARName in interface AdminObjectMBeanrarName - the rar namepublic String getType()
AdminObjectMBean
getType in interface AdminObjectMBeanpublic void setType(String type)
AdminObjectMBean
setType in interface AdminObjectMBeantype - the interface type
protected void startService()
throws Exception
startService in class org.jboss.system.ServiceMBeanSupportException
protected void stopService()
throws Exception
stopService in class org.jboss.system.ServiceMBeanSupportException
protected AdminObjectMetaData retrieveAdminObjectMetaData()
throws org.jboss.deployment.DeploymentException
org.jboss.deployment.DeploymentException - for any error
protected Object createAdminObject(AdminObjectMetaData aomd)
throws org.jboss.deployment.DeploymentException
aomd - the admin object metadata
org.jboss.deployment.DeploymentException - for any error
protected void bind(Object object)
throws Exception
object - the object to bind
Exception - for any error
protected void unbind()
throws Exception
Exception - for any error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||