|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.mx.util.JBossNotificationBroadcasterSupport org.jboss.system.ServiceMBeanSupport org.jboss.resource.deployment.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, 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, 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()
getJNDIName
in interface AdminObjectMBean
public void setJNDIName(String jndiName)
setJNDIName
in interface AdminObjectMBean
jndiName
- the jndi namepublic Properties getProperties()
getProperties
in interface AdminObjectMBean
public void setProperties(Properties properties)
setProperties
in interface AdminObjectMBean
properties
- the propertiespublic javax.management.ObjectName getRARName()
getRARName
in interface AdminObjectMBean
public void setRARName(javax.management.ObjectName rarName)
setRARName
in interface AdminObjectMBean
rarName
- the rar namepublic String getType()
getType
in interface AdminObjectMBean
public void setType(String type)
setType
in interface AdminObjectMBean
type
- the interface typeprotected void startService() throws Exception
Exception
protected void stopService() throws Exception
Exception
protected AdminObjectMetaData retrieveAdminObjectMetaData() throws org.jboss.deployment.DeploymentException
org.jboss.deployment.DeploymentException
- for any errorprotected Object createAdminObject(AdminObjectMetaData aomd) throws org.jboss.deployment.DeploymentException
aomd
- the admin object metadata
org.jboss.deployment.DeploymentException
- for any errorprotected void bind(Object object) throws Exception
object
- the object to bind
Exception
- for any errorprotected void unbind() throws Exception
Exception
- for any error
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |