@Service public class CommandModelDataProvider extends Object implements DataProvider
CachedCommandModel and
{@link com.sun.enterprise.admin.util.CommandModelData).| Constructor and Description |
|---|
CommandModelDataProvider() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(Class clazz) |
Object |
toInstance(InputStream stream,
Class clazz) |
void |
writeToStream(Object o,
OutputStream stream) |
void |
writeToStreamSimpleFormat(org.glassfish.api.admin.CommandModel cm,
OutputStream stream)
Super simple format possible because there can't be any problematic
symbol like EOL in attributes.
|
public boolean accept(Class clazz)
accept in interface DataProviderpublic void writeToStream(Object o, OutputStream stream) throws IOException
writeToStream in interface DataProviderIOExceptionpublic void writeToStreamSimpleFormat(org.glassfish.api.admin.CommandModel cm,
OutputStream stream)
throws IOException
IOExceptionpublic Object toInstance(InputStream stream, Class clazz) throws IOException
toInstance in interface DataProviderIOExceptionCopyright © 2017. All rights reserved.