Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

WebLogic Server 5.1.0sp9 API Reference

## weblogic.common
Interface T3ResourceFactory

public interface T3ResourceFactory

T3ResourceFactory is an interface that specifies how to manufacture new resources that are associated with objects.

Author:
  Copyright (c) 1996-98 by WebLogic, Inc. All Rights Reserved., Copyright (c) 1999 by BEA WebXpress. All Rights Reserved.
  Copyright © 2001 BEA Systems, Inc. All Rights Reserved.
See Also:
  `T3ResourceDef`

Method Summary
`java.lang.Object` | `createResource()` Creates a new instance of a resource when invoked by a resource allocator.
`void` | `refreshResource(java.lang.Object resource)` Refreshes an instance of a resource when invoked.

Method Detail

### createResource

    public java.lang.Object createResource()
                                    throws ResourceException

  Creates a new instance of a resource when invoked by a resource allocator.

  Returns:
    New instance of the resource created
  Throws:
    ResourceException - if the resource cannot be created

### refreshResource

    public void refreshResource(java.lang.Object resource)
                         throws ResourceException

  Refreshes an instance of a resource when invoked.

  Throws:
    ResourceException - if the resource cannot be created

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at http://www.weblogic.com/docs51
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD