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, persistProperties
public 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 PropertiesFileLoader
org.jboss.msc.service.StartException
protected void verifyProperties(Properties properties) throws IOException
PropertiesFileLoader
verifyProperties
in class PropertiesFileLoader
properties
- - The Properties instance to verify.IOException
public void stop(org.jboss.msc.service.StopContext context)
stop
in interface org.jboss.msc.service.Service<DomainCallbackHandler>
stop
in class PropertiesFileLoader
public DomainCallbackHandler getValue() throws IllegalStateException, IllegalArgumentException
getValue
in interface org.jboss.msc.value.Value<DomainCallbackHandler>
IllegalStateException
IllegalArgumentException
public Class[] getSupportedCallbacks()
getSupportedCallbacks
in interface DomainCallbackHandler
public boolean isReady()
DomainCallbackHandler
isReady
in interface DomainCallbackHandler
public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException
handle
in interface CallbackHandler
IOException
UnsupportedCallbackException
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.