com.cafesoft.core.util
Interface Debuggable

All Known Subinterfaces:
AccessControlRule, AccessControlService, ActiveDirectoryGroupNameService, ActiveDirectoryPrimaryGroupService, AuthenticationService, ConnectionPool, ConnectionPoolManager, JdbcConnectionPoolService, LdapConnectionPoolService, LifecycleService, LoginContext, ManagedSessionEventHandler, ManagedSessionEventListener, ObjectPoolConfig, PermissionCollection, PingService, PoolableConnectionFactory, RemoteSessionManager, RMIRegistryProxyService, RMIRegistryService, Service, ServiceAdapter, ServiceConnector, ServiceManager, ServiceProvider, SessionAccessService, SessionControlService, UnboundIDLdapConnectionPoolService, UserRepository, UserRepositoryService
All Known Implementing Classes:
AbstractAccessControlRule, AbstractLifecycleService, AbstractPermissionCollection, AbstractService, AbstractServiceConnector, SqlCommandIterator, StandardConnectionPool, StandardConnectionPoolManager, StandardObjectPoolConfig, StandardPoolableConnectionFactory, StandardServiceAdapter, StandardServiceManager, StandardServiceProvider

public interface Debuggable

Debuggable defines an interface for enabling/disabling debugging of Object instances. The action taken when a Debuggable Object is enabled/disabled is implementation-specific.

Since:
7/2/2002

Method Summary
 boolean setDebug(boolean enable)
          Enable or disable debugging.
 

Method Detail

setDebug

boolean setDebug(boolean enable)
Enable or disable debugging.

Parameters:
enable - if true, enable debugging, else disable debugging.
Returns:
the previous value of the debug flag, which is useful for restoring the debug state if temporarily changed.


Generated on 10:38:35 AM April 14, 2011, © 1996-2010 Cafésoft LLC. All rights reserved.