|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.globus.ogsa.impl.core.service.ServicePropertiesImpl
org.globus.ogsa.impl.ogsi.GridServiceImpl
org.globus.ogsa.impl.core.logging.OgsiLogging
This is the GRID service primary touch point. Basically a brdige from the service skeleton of the OgsiLoggingPortType, to the OGSALogFactory
| Field Summary | |
static QName |
LOG_BUFFER_SIZE
|
static QName |
LOG_MESSAGES
|
static java.lang.String |
LOGGING_SERVICE_PORT_TYPE_NS
|
static QName |
PERSISTENT_ATTRIBUTES
|
static QName |
TRANSIENT_ATTRIBUTES
|
| Fields inherited from class org.globus.ogsa.impl.ogsi.GridServiceImpl |
queryEngine, serviceData |
| Constructor Summary | |
OgsiLogging()
Constructor |
|
| Method Summary | |
void |
activate(GridContext context)
activate
Activate state transition callback... |
void |
addToMessageBucket(LogMessageElement lm)
addToMessageBucket - routine to maintain a push down sliding window stack of "last seen messages" from the logfactory |
void |
changeGroupPersistentAttribute(GroupLogAttribute gla)
changeGroupPersistentAttribute - group set operation, against config store |
void |
changeGroupTransientAttribute(GroupLogAttribute gla)
changeGroupTransientAttribute - group set operation, against runtime cache |
void |
deactivate(GridContext context)
deactivate
Deactivate state transition callback... |
java.util.Collection |
getServiceDataValues(QName qname)
getServiceDataValues
Gets the service data values for a given qname. |
void |
loadPersistentAttributes()
loadPersistentAttributes() - will update runtime cache from the config file-asis, whole |
void |
postCreate(GridContext context)
postCreate
Post Create state transition callback... |
void |
postPersistentCreate(GridContext context)
Initialize in postPersistentCreate |
void |
preDestroy(GridContext context)
Called just before a service gets destroyed. |
void |
reflectPersistentAttributes()
reflectPersistentAttribute - synchronize service data of Persistents |
void |
reflectTransientAttributes()
reflectTransientAttribute - synchronize service data of Transients |
void |
removePersistentAttribute(java.lang.String name)
removePersistentAttribute |
void |
removeTransientAttribute(java.lang.String name)
removeTransientAttribute |
void |
saveTransientAttributes()
saveTransientAttributes() - will reflect runtime cache back to the config file-asis, whole |
void |
setLogBufferSize(int size)
getAttributeRuntime |
void |
setPersistentAttribute(LogAttributeElement aLogAttributeElement)
setPersistentAttribute - impacts saved config file only |
void |
setTransientAttribute(LogAttributeElement aLogAttributeElement)
setTransientAttribute - adds/alters a named logger attribute entry in the attrubute cache, maintained by the LogFactory for Ogsi |
| Methods inherited from class org.globus.ogsa.impl.ogsi.GridServiceImpl |
addOperationProvider, destroy, findServiceData, getInstanceProperty, getOperationProvider, getQueryEngine, getServiceDataSet, getServiceInterface, getTerminationTime, populateInstanceProperties, preCreate, removeOperationProvider, requestTerminationAfter, requestTerminationBefore, setDefaultTermination, setQueryEngine, setServiceData, setServiceDataSet |
| Methods inherited from class org.globus.ogsa.impl.core.service.ServicePropertiesImpl |
flush, flush, getPersistentProperty, getProperty, keySet, setPersistentProperty, setProperty, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.globus.ogsa.ServiceProperties |
flush, getPersistentProperty, getProperty, setPersistentProperty, setProperty |
| Field Detail |
public static final java.lang.String LOGGING_SERVICE_PORT_TYPE_NS
public static final QName TRANSIENT_ATTRIBUTES
public static final QName PERSISTENT_ATTRIBUTES
public static final QName LOG_BUFFER_SIZE
public static final QName LOG_MESSAGES
| Constructor Detail |
public OgsiLogging()
| Method Detail |
public void postCreate(GridContext context)
throws GridServiceException
postCreate
Post Create state transition callback...
postCreate in interface GridServiceCallbackpostCreate in class GridServiceImplcontext - The GridContext that exists when this API is called.
GridServiceException
public void activate(GridContext context)
throws GridServiceException
activate
Activate state transition callback...
activate in interface GridServiceCallbackactivate in class GridServiceImplcontext - The GridContext that exists when this API is called.
GridServiceException
public void deactivate(GridContext context)
throws GridServiceException
deactivate
Deactivate state transition callback...
deactivate in interface GridServiceCallbackdeactivate in class GridServiceImplcontext - The GridContext that exists when this API is called.
GridServiceException
public void preDestroy(GridContext context)
throws GridServiceException
GridServiceCallback
preDestroy in interface GridServiceCallbackpreDestroy in class GridServiceImplGridServiceException
public void postPersistentCreate(GridContext context)
throws GridServiceException
GridServiceException
public void setTransientAttribute(LogAttributeElement aLogAttributeElement)
throws java.rmi.RemoteException,
InvalidDestinationFaultElement,
InvalidLevelFaultElement
InvalidDestinationFaultElement - - future base pathname check
InvalidLevelFaultElement - - a unsupported level mask value was detected
java.rmi.RemoteException
public void removeTransientAttribute(java.lang.String name)
throws java.rmi.RemoteException,
UnknownNameFaultElement
java.rmi.RemoteException
UnknownNameFaultElement
public void setPersistentAttribute(LogAttributeElement aLogAttributeElement)
throws java.rmi.RemoteException,
InvalidDestinationFaultElement,
InvalidLevelFaultElement,
UnableToPersistFaultElement
java.rmi.RemoteException
InvalidDestinationFaultElement
InvalidLevelFaultElement
UnableToPersistFaultElement
public void removePersistentAttribute(java.lang.String name)
throws java.rmi.RemoteException,
UnableToPersistFaultElement,
UnknownNameFaultElement
java.rmi.RemoteException
UnableToPersistFaultElement
UnknownNameFaultElement
public void changeGroupTransientAttribute(GroupLogAttribute gla)
throws java.rmi.RemoteException,
InvalidDestinationFaultElement,
InvalidLevelFaultElement,
UnknownGroupNameFaultElement,
UnGroupedFaultElement
java.rmi.RemoteException
InvalidDestinationFaultElement
InvalidLevelFaultElement
UnknownGroupNameFaultElement
UnGroupedFaultElement
public void changeGroupPersistentAttribute(GroupLogAttribute gla)
throws java.rmi.RemoteException,
InvalidDestinationFaultElement,
InvalidLevelFaultElement,
UnableToPersistFaultElement,
UnknownGroupNameFaultElement,
UnGroupedFaultElement
java.rmi.RemoteException
InvalidDestinationFaultElement
InvalidLevelFaultElement
UnableToPersistFaultElement
UnknownGroupNameFaultElement
UnGroupedFaultElement
public void saveTransientAttributes()
throws java.rmi.RemoteException,
UnableToPersistFaultElement
java.rmi.RemoteException
UnableToPersistFaultElement
public void loadPersistentAttributes()
throws java.rmi.RemoteException,
UnableToPersistFaultElement
java.rmi.RemoteException
UnableToPersistFaultElement
public void setLogBufferSize(int size)
throws java.rmi.RemoteException,
InvalidLogBuffSizeFaultElement
java.rmi.RemoteException
InvalidLogBuffSizeFaultElementpublic void reflectTransientAttributes()
public void reflectPersistentAttributes()
public java.util.Collection getServiceDataValues(QName qname)
getServiceDataValues
Gets the service data values for a given qname.
getServiceDataValues in interface ServiceDataValueCallbackgetServiceDataValues in class GridServiceImplqname - The name of the SDE to get
public void addToMessageBucket(LogMessageElement lm)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||