org.jboss.deployment
Class ClasspathExtension

java.lang.Object
  extended byorg.jboss.mx.util.JBossNotificationBroadcasterSupport (src) 
      extended byorg.jboss.system.ServiceMBeanSupport (src) 
          extended byorg.jboss.deployment.ClasspathExtension
All Implemented Interfaces:
MBeanRegistration (src) , NotificationBroadcaster (src) , NotificationEmitter (src) , Service (src) , ServiceMBean (src)

public class ClasspathExtension
extends ServiceMBeanSupport (src)

A service that allows one to add an arbitrary URL to a named LoaderRepository. Created: Sun Jun 30 13:17:22 2002


Field Summary
 
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
ClasspathExtension()
           
 
Method Summary
protected  void createService()
          Sub-classes should override this method to provide custum 'create' logic.
protected  void destroyService()
          Sub-classes should override this method to provide custum 'destroy' logic.
 ObjectName (src) getLoaderRepository()
          mbean get-set pair for field loaderRepository Get the value of loaderRepository
 java.lang.String getMetadataURL()
          mbean get-set pair for field metadataURL Get the value of metadataURL
 void setLoaderRepository(ObjectName (src)  loaderRepository)
          Set the value of loaderRepository
 void setMetadataURL(java.lang.String metadataURL)
          Set the value of metadataURL
 
Methods inherited from class org.jboss.system.ServiceMBeanSupport (src)
create, destroy, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, startService, stop, stopService
 
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
 

Constructor Detail

ClasspathExtension

public ClasspathExtension()
Method Detail

getMetadataURL

public java.lang.String getMetadataURL()
mbean get-set pair for field metadataURL Get the value of metadataURL

Returns:
value of metadataURL

setMetadataURL

public void setMetadataURL(java.lang.String metadataURL)
Set the value of metadataURL

Parameters:
metadataURL - Value to assign to metadataURL

getLoaderRepository

public ObjectName (src)  getLoaderRepository()
mbean get-set pair for field loaderRepository Get the value of loaderRepository

Returns:
value of loaderRepository

setLoaderRepository

public void setLoaderRepository(ObjectName (src)  loaderRepository)
Set the value of loaderRepository

Parameters:
loaderRepository - Value to assign to loaderRepository

createService

protected void createService()
                      throws java.lang.Exception
Description copied from class: ServiceMBeanSupport (src)
Sub-classes should override this method to provide custum 'create' logic.

This method is empty, and is provided for convenience when concrete service classes do not need to perform anything specific for this state change.

Overrides:
createService in class ServiceMBeanSupport (src)
Throws:
java.lang.Exception

destroyService

protected void destroyService()
                       throws java.lang.Exception
Description copied from class: ServiceMBeanSupport (src)
Sub-classes should override this method to provide custum 'destroy' logic.

This method is empty, and is provided for convenience when concrete service classes do not need to perform anything specific for this state change.

Overrides:
destroyService in class ServiceMBeanSupport (src)
Throws:
java.lang.Exception