public class PropertiesCallbackHandler extends PropertiesFileLoader implements org.jboss.msc.service.Service<DomainCallbackHandler>, DomainCallbackHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_SUFFIX |
ESCAPE_ARRAY| Constructor and Description |
|---|
PropertiesCallbackHandler(String realm,
org.jboss.dmr.ModelNode properties) |
| Modifier and Type | Method and Description |
|---|---|
Class[] |
getSupportedCallbacks() |
DomainCallbackHandler |
getValue() |
void |
handle(Callback[] callbacks) |
boolean |
isReady()
Is this DomainCallbackHandler ready for handling remote requests.
|
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
protected void |
verifyProperties(Properties properties)
Provides the base class with an opportunity to verify the contents of the properties before they are used.
|
escapeString, getProperties, getRelativeToInjector, persistPropertiespublic static final String SERVICE_SUFFIX
public PropertiesCallbackHandler(String realm, org.jboss.dmr.ModelNode properties)
public void start(org.jboss.msc.service.StartContext context)
throws org.jboss.msc.service.StartException
start in interface org.jboss.msc.service.Service<DomainCallbackHandler>start in class PropertiesFileLoaderorg.jboss.msc.service.StartExceptionprotected void verifyProperties(Properties properties) throws IOException
PropertiesFileLoaderverifyProperties in class PropertiesFileLoaderproperties - - The Properties instance to verify.IOExceptionpublic void stop(org.jboss.msc.service.StopContext context)
stop in interface org.jboss.msc.service.Service<DomainCallbackHandler>stop in class PropertiesFileLoaderpublic DomainCallbackHandler getValue() throws IllegalStateException, IllegalArgumentException
getValue in interface org.jboss.msc.value.Value<DomainCallbackHandler>IllegalStateExceptionIllegalArgumentExceptionpublic Class[] getSupportedCallbacks()
getSupportedCallbacks in interface DomainCallbackHandlerpublic boolean isReady()
DomainCallbackHandlerisReady in interface DomainCallbackHandlerpublic void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException
handle in interface CallbackHandlerIOExceptionUnsupportedCallbackExceptionCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.