|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport (src)
org.jboss.system.ServiceMBeanSupport (src)
org.jboss.resource.deployment.AdminObject
An admin object deployment
Field Summary | |
protected java.lang.String |
jndiName
The jndi name |
protected java.util.Properties |
properties
The properties |
protected ObjectName (src) |
rarName
The resource adapter name |
protected java.lang.String |
type
The admin object type |
Fields inherited from class org.jboss.system.ServiceMBeanSupport (src) |
log, server, SERVICE_CONTROLLER_SIG, serviceName |
Fields inherited from interface org.jboss.system.ServiceMBean (src) |
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(java.lang.Object object)
Bind the object into jndi |
protected java.lang.Object |
createAdminObject(AdminObjectMetaData (src) aomd)
Create the admin object |
java.lang.String |
getJNDIName()
Get the jndi name |
java.util.Properties |
getProperties()
Get the properties |
ObjectName (src) |
getRARName()
Get the rar name |
java.lang.String |
getType()
Get the interface type |
protected AdminObjectMetaData (src) |
retrieveAdminObjectMetaData()
Retrieve the admin object metadata |
void |
setJNDIName(java.lang.String jndiName)
Set the jndi name |
void |
setProperties(java.util.Properties properties)
Set the properties |
void |
setRARName(ObjectName (src) rarName)
Set the rar name |
void |
setType(java.lang.String type)
Set the interface type |
protected void |
startService()
Sub-classes should override this method to provide custum 'start' logic. |
protected void |
stopService()
Sub-classes should override this method to provide custum 'stop' logic. |
protected void |
unbind()
Unbind the object from jndi |
Methods inherited from class org.jboss.system.ServiceMBeanSupport (src) |
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 (src) |
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected ObjectName (src) rarName
protected java.lang.String type
protected java.util.Properties properties
protected java.lang.String jndiName
Constructor Detail |
public AdminObject()
Method Detail |
public java.lang.String getJNDIName()
public void setJNDIName(java.lang.String jndiName)
jndiName
- the jndi namepublic java.util.Properties getProperties()
public void setProperties(java.util.Properties properties)
properties
- the propertiespublic ObjectName (src) getRARName()
public void setRARName(ObjectName (src) rarName)
rarName
- the rar namepublic java.lang.String getType()
public void setType(java.lang.String type)
type
- the interface typeprotected void startService() throws java.lang.Exception
ServiceMBeanSupport (src)
This method is empty, and is provided for convenience when concrete service classes do not need to perform anything specific for this state change.
startService
in class ServiceMBeanSupport (src)
java.lang.Exception
protected void stopService() throws java.lang.Exception
ServiceMBeanSupport (src)
This method is empty, and is provided for convenience when concrete service classes do not need to perform anything specific for this state change.
stopService
in class ServiceMBeanSupport (src)
java.lang.Exception
protected AdminObjectMetaData (src) retrieveAdminObjectMetaData() throws DeploymentException (src)
DeploymentException (src)
- for any errorprotected java.lang.Object createAdminObject(AdminObjectMetaData (src) aomd) throws DeploymentException (src)
aomd
- the admin object metadata
DeploymentException (src)
- for any errorprotected void bind(java.lang.Object object) throws java.lang.Exception
object
- the object to bind
java.lang.Exception
- for any errorprotected void unbind() throws java.lang.Exception
java.lang.Exception
- for any error
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |