|
||||||||||
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.security.jce.JCEProviderService
public class JCEProviderService
The JCEProviderService is capable of loading one or more third party
JCE providers at runtime. The configuration looks something like:
<mbean code="org.jboss.security.jce.JCEProviderService" name="Security:service=JCEProviderService"> <attribute name="JceProviders"> <providers> <provider class="org.bouncycastle.jce.provider.BouncyCastleProvider" position="3"/> <provider class="cryptix.provider.Cryptix"/> </providers> </attribute> </mbean>The required class attribute is the class name of the Provider to load. The optional position attribute is the position in the provider list that this provider would like to be loaded.
Any provider that already exists in the provider list will not be loaded again, and it will not be removed from the list when the JCEProviderService is destroyed.
Field Summary |
---|
Fields inherited from class org.jboss.system.ServiceMBeanSupport |
---|
log, server, SERVICE_CONTROLLER_SIG, serviceName |
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 | |
---|---|
JCEProviderService()
|
Method Summary | |
---|---|
protected void |
createService()
|
protected void |
destroyService()
|
Element |
getJceProviders()
|
void |
setJceProviders(Element element)
|
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
---|
create, destroy, getDeploymentInfo, 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 |
---|
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 |
Constructor Detail |
---|
public JCEProviderService()
Method Detail |
---|
public void setJceProviders(Element element)
setJceProviders
in interface JCEProviderServiceMBean
public Element getJceProviders()
getJceProviders
in interface JCEProviderServiceMBean
protected void createService() throws Exception
createService
in class org.jboss.system.ServiceMBeanSupport
Exception
protected void destroyService()
destroyService
in class org.jboss.system.ServiceMBeanSupport
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |